package com.dj.util;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.io.Serializable;

public class MyPage<T> extends Page<T> implements Serializable {

    private final IPage<T> result;

    public MyPage(Integer current, Integer size, IPage<T> result) {
        this.current = current;
        this.size = size;
        this.result = result;
    }
}
